package com.itheima.health.dao;

import com.itheima.health.pojo.CheckgroupCheckitem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhangmeng
 * @description j检查组dao层
 * @date 2019/9/16
 **/
@Mapper
public interface CheckgroupCheckItemDao {

    List<CheckgroupCheckitem> selectByCheckitemId(@Param("checkitemId") int checkitemId);

    void save(@Param("list") List<CheckgroupCheckitem> list);

    List<CheckgroupCheckitem> selectByCheckgroupId(@Param("checkgroupId") Integer id);

    void deleteByCheckgroupId(@Param("checkgroupId") Integer checkgroupId);
}
